package com.haoze.nurse.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "EMR_NURSINGCARE_RELATION")
public class EmrNursingcareRelationEntity {

    @Id
    @Column(name = "NURSINGCARE_ID")
    private String nursingcareId; // 主键

    @Column(name = "DATA_VERSION")
    private Integer dataVersion; // 版本编号

    @Column(name = "GMT_CREATE")
    protected Date gmtCreate; // 创建日期：暂时用这个字段存储护理记录选定日期， 当记录为统计时该字段存储默认07：00

    @Column(name = "GMT_MODIFY")
    protected Date gmtModify; // 记录更新日期

    @Column(name = "HOSPITAL_ID")
    protected String hospitalId; // 医院编号

    @Column(name = "EMR_FILE_ID")
    private String emrFileId; // 护理文书编号

    @Column(name = "GROUP_NO")
    private Integer groupNo; // 记录组号

    @Column(name = "TOTAL_INTAKE")
    private Float totalIntake; // 总入量

    @Column(name = "TOTAL_MAKE")
    private Float totalMake; // 总出量

    @Column(name = "DEL_FLAG")
    private String delFlag; // 删除标识

    @Column(name = "STOP_FLAG")
    private String stopFlag; // 隐藏标识

    @Column(name = "NURSINGCARE_TYPE")
    private String nursingcareType; // 1-普通记录，2-统计记录，3-2小时出入量记录，4-本班出入量记录，5-本班出量记录，
    // 6-24小时出量记录，7-本班尿量记录，8-24小时尿量，9-本班冲洗出入量记录，10-24小时冲洗出入量

    @Column(name = "STATISTICAL_DURATION")
    private String statisticalDuration; // 统计时长（默认24小时，第一次记录距离最近医嘱时长）

    @Column(name = "AUDIT_NURSE_ID")
    private String auditNurseId;

    @Column(name = "WARD_ID")
    private String wardId;

    @Column(name = "DEPT_ID")
    private String deptId;

    @Column(name = "BED_NO")
    private String bedNo;

    public String getWardId() {
        return wardId;
    }

    public void setWardId(String wardId) {
        this.wardId = wardId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getBedNo() {
        return bedNo;
    }

    public void setBedNo(String bedNo) {
        this.bedNo = bedNo;
    }

    public String getNursingcareId() {
        return nursingcareId;
    }

    public void setNursingcareId(String nursingcareId) {
        this.nursingcareId = nursingcareId;
    }

    public Integer getDataVersion() {
        return dataVersion;
    }

    public void setDataVersion(Integer dataVersion) {
        this.dataVersion = dataVersion;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    public String getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(String hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getEmrFileId() {
        return emrFileId;
    }

    public void setEmrFileId(String emrFileId) {
        this.emrFileId = emrFileId;
    }

    public Integer getGroupNo() {
        return groupNo;
    }

    public void setGroupNo(Integer groupNo) {
        this.groupNo = groupNo;
    }

    public Float getTotalIntake() {
        return totalIntake;
    }

    public void setTotalIntake(Float totalIntake) {
        this.totalIntake = totalIntake;
    }

    public Float getTotalMake() {
        return totalMake;
    }

    public void setTotalMake(Float totalMake) {
        this.totalMake = totalMake;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getStopFlag() {
        return stopFlag;
    }

    public void setStopFlag(String stopFlag) {
        this.stopFlag = stopFlag;
    }

    public String getNursingcareType() {
        return nursingcareType;
    }

    public void setNursingcareType(String nursingcareType) {
        this.nursingcareType = nursingcareType;
    }

    public String getStatisticalDuration() {
        return statisticalDuration;
    }

    public void setStatisticalDuration(String statisticalDuration) {
        this.statisticalDuration = statisticalDuration;
    }

    public String getAuditNurseId() {
        return auditNurseId;
    }

    public void setAuditNurseId(String auditNurseId) {
        this.auditNurseId = auditNurseId;
    }

    @Override
    public String toString() {
        return "EmrNursingcareRelationEntity{" +
                "nursingcareId='" + nursingcareId + '\'' +
                ", dataVersion=" + dataVersion +
                ", gmtCreate=" + gmtCreate +
                ", gmtModify=" + gmtModify +
                ", hospitalId='" + hospitalId + '\'' +
                ", emrFileId='" + emrFileId + '\'' +
                ", groupNo=" + groupNo +
                ", totalIntake=" + totalIntake +
                ", totalMake=" + totalMake +
                ", delFlag='" + delFlag + '\'' +
                ", stopFlag='" + stopFlag + '\'' +
                ", nursingcareType='" + nursingcareType + '\'' +
                ", statisticalDuration='" + statisticalDuration + '\'' +
                ", auditNurseId='" + auditNurseId + '\'' +
                '}';
    }
}
